package cn.elwy.rcp.ui.table.model;

import java.io.Serializable;
import java.util.List;

import cn.elwy.rcp.ui.table.adapter.ButtonBarAdapter;

public class ButtonBarInfo implements Serializable {

  private static final long serialVersionUID = 1L;

  private int style;
  private String name;
  private int horizontalAlignment;
  private int verticalAlignment;
  private boolean grabExcessHorizontalSpace;
  private boolean grabExcessVerticalSpace;
  private ButtonBarAdapter buttonBarAdapter;

  private List<ButtonInfo> buttonInfoList;

  public int getStyle() {
    return style;
  }

  public void setStyle(int style) {
    this.style = style;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public int getHorizontalAlignment() {
    return horizontalAlignment;
  }

  public void setHorizontalAlignment(int horizontalAlignment) {
    this.horizontalAlignment = horizontalAlignment;
  }

  public int getVerticalAlignment() {
    return verticalAlignment;
  }

  public void setVerticalAlignment(int verticalAlignment) {
    this.verticalAlignment = verticalAlignment;
  }

  public boolean getGrabExcessHorizontalSpace() {
    return grabExcessHorizontalSpace;
  }

  public void setGrabExcessHorizontalSpace(boolean grabExcessHorizontalSpace) {
    this.grabExcessHorizontalSpace = grabExcessHorizontalSpace;
  }

  public boolean getGrabExcessVerticalSpace() {
    return grabExcessVerticalSpace;
  }

  public void setGrabExcessVerticalSpace(boolean grabExcessVerticalSpace) {
    this.grabExcessVerticalSpace = grabExcessVerticalSpace;
  }

  public List<ButtonInfo> getButtonInfoList() {
    return buttonInfoList;
  }

  public void setButtonInfoList(List<ButtonInfo> buttonInfoList) {
    this.buttonInfoList = buttonInfoList;
  }

  public ButtonBarAdapter getButtonBarAdapter() {
    return buttonBarAdapter;
  }

  public void setButtonBarAdapter(ButtonBarAdapter buttonBarAdapter) {
    this.buttonBarAdapter = buttonBarAdapter;
  }

}
